<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>User index</title>
</head>
<body>
    <h1>Home User index</h1>
    <hr>
    <table border="1" width="800" cellspacing="0">
        <tr>
            <th>ID</th>
            <th>name</th>
            <th>sex</th>
            <th>age</th>
        </tr>
        <foreach name='list' item="vo">
            <tr>
                <td><{$vo.id}></td>
                <td><{$vo.name}></td>
                <td>
                    <if condition="$vo.sex eq '0'">女
                    <elseif condition="$vo.sex eq '1'" />男
                    <else/>保密</if>
                </td>
                <td><{$vo.age}></td>
            </tr>
        </foreach>
    </table>
</body>
</html>